<tagLib name="html" />

<include file="Public:header" />

<div class="container" id="cpcontainer">
    <div class="itemtitle">
        <h3>{$Think.lang.blacklist.disallow_username}</h3>
    </div>
    <p class="tips">{$Think.lang.blacklist.disallow_username_tips}</p>
    <table class="tb tb2 ">
        <tbody id="add-disallowed-username">
	        <form name="cpform" method="post" action="__URL__/disallowUsername">
		    <input type="hidden" name="op" value="save" />
		    <input type="hidden" name="type" value="add" />
	        <tr><th class="partition" colspan="2">{$Think.lang.blacklist.add_disallowed_username}</th></tr>
			<tr class="nobg"><td colspan="2" class="td27">{$Think.lang.username}:</td></tr>
	        <tr>
	            <td class="vtop rowform"><input name="username" value="" type="text" class="txt" /></td>
	            <td class="vtop tips2">{$Think.lang.blacklist.add_disallowed_username_explain}</td>
	        </tr>
	        <tr class="nobg">
	            <td colspan="15"><div class="fixsel"><input type="submit" class="btn" name="modsubmit" value="{$Think.lang.submit}" /></div></td>
	        </tr>
	        </form>
        </tbody>
        <tbody id="remove-disallowed-username">
        	<form name="cpform" method="post" action="__URL__/disallowUsername">
		    <input type="hidden" name="op" value="save" />
		    <input type="hidden" name="type" value="remove" />
            <tr><th class="partition" colspan="2">{$Think.lang.blacklist.remove_disallowed_username}</th></tr>
			<tr class="nobg"><td colspan="2" class="td27">{$Think.lang.username}:</td></tr>
	        <tr>
	            <td class="vtop rowform">
	            	<select name="id">
		            	<volist name="blacklist" id="vo">
		            	<option value="{$vo.id}">{$vo.value}</option>	
		            	</volist>
	            	</select>
	            </td>
	            <td class="vtop tips2"></td>
	        </tr>
	        <tr class="nobg">
	            <td colspan="15"><div class="fixsel"><input type="submit" class="btn" name="modsubmit" value="{$Think.lang.submit}" /></div></td>
	        </tr>
	        </form>
        </tbody>
    </table>
</div>

<include file="Public:footer" />
